package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum TeachingModeEnum {

    //授课模式：班课，一对一（对于字典表）
    NO(0,"无"),
    ALL(1,"班"),
    APPOID(2,"一");

    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    TeachingModeEnum(Integer key,String value){
        this.key = key;
        this.value = value;
    }
}
